#!/usr/bin/env python

import coverage
import unittest
import sys

coverage.use_cache(0)
coverage.start()

import kineta.filedb
import kineta.berkdb
import kineta.error
import kineta.limits
import kineta.query
import kineta.strategy
import kineta.cmp
import kineta.threads
import kineta.utils
import kineta.server
import kineta.remotedb

import kineta_test
unittest.TextTestRunner().run(
    unittest.defaultTestLoader.loadTestsFromModule(kineta_test))
coverage.stop()
coverage.report([kineta.filedb, kineta.berkdb, kineta.error,
                 kineta.limits, kineta.query, kineta.strategy,
                 kineta.cmp, kineta.threads, kineta.utils,
                 kineta.server, kineta.remotedb])
